package com.tj.shopping.entity;

import java.io.Serializable;

/**
 * (Address)实体类
 * 地址表
 * @author makejava
 * @since 2023-12-18 20:09:47
 */
public class Address implements Serializable {
    private static final long serialVersionUID = 448595353987047563L;

    private Integer adno;//地址编号

    private Integer uno;//用户编号

    private String address;//地址信息

    private String artel;//收货人电话号码

    private String consignee;//收货人

    private Integer arstate;//地址状态（0，表示默认地址，1表示其他地址）

    private String temp01;


    public Integer getAdno() {
        return adno;
    }

    public void setAdno(Integer adno) {
        this.adno = adno;
    }

    public Integer getUno() {
        return uno;
    }

    public void setUno(Integer uno) {
        this.uno = uno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArtel() {
        return artel;
    }

    public void setArtel(String artel) {
        this.artel = artel;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public Integer getArstate() {
        return arstate;
    }

    public void setArstate(Integer arstate) {
        this.arstate = arstate;
    }

    public String getTemp01() {
        return temp01;
    }

    public void setTemp01(String temp01) {
        this.temp01 = temp01;
    }

    public Address() {
    }

    public Address(Integer adno, Integer uno, String address, String artel,
                   String consignee, Integer arstate, String temp01) {
        this.adno = adno;
        this.uno = uno;
        this.address = address;
        this.artel = artel;
        this.consignee = consignee;
        this.arstate = arstate;
        this.temp01 = temp01;
    }

    @Override
    public String toString() {
        return "Address{" +
                "adno=" + adno +
                ", uno=" + uno +
                ", address='" + address + '\'' +
                ", artel='" + artel + '\'' +
                ", consignee='" + consignee + '\'' +
                ", arstate=" + arstate +
                ", temp01='" + temp01 + '\'' +
                '}';
    }
}

